/**
 * 
 */
package org.kknd.thetvdblib.pojo;

/**
 * A POJO which represents an available language on theTVDB server.
 * 
 * @author Christian
 */
public class Language {
    private String name;
    private String abbreviation;
    private int id;

    /**
     * Creates a POJO with a language which is available on theTVDB server.
     * 
     * @param name the long name of the language
     * @param abbreviation the abbreviation
     * @param id internal representation of the language
     */
    public Language(String name, String abbreviation, int id) {
        super();
        this.name = name;
        this.abbreviation = abbreviation;
        this.id = id;
    }

    /**
     * Returns the name of the language.
     * 
     * @return the name
     */
    public String getName() {
        return this.name;
    }

    /**
     * Sets the name of the language.
     * 
     * @param name the new name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Returns the abbreviation for the language.
     * 
     * @return the abbr
     */
    public String getAbbreviation() {
        return this.abbreviation;
    }

    /**
     * Sets the abbreviation.
     * 
     * @param abbreviation the new abbr
     */
    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    /**
     * Returns the internal id for the language.
     * 
     * @return the id
     */
    public int getId() {
        return this.id;
    }

    /**
     * Sets the internal id for the language.
     * 
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

}
